<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>


    <meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
	<title>Bootstrap 101 Template</title>

	<!-- Bootstrap -->
	<link href="__CSS__/bootstrap.min.css" rel="stylesheet">
	<link rel="stylesheet" href="__CSS__/my.css">
	<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
	<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
	<!--[if lt IE 9]>
	<script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
	<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
	<![endif]-->
	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
	<script src="__JS__/jquery.min.js"></script>
	<!-- Include all compiled plugins (below), or include individual files as needed -->
	<script src="__JS__/bootstrap.min.js"></script>
	
</head>
<body>

       <div class="container">
       	 <div class="col-md-12 bg-primary p10">
       	   <h5>编辑页面</h5>

       	           <form class="form-horizontal" action="{:url('admin/users/edits')}" method='post' enctype="multipart/form-data" name="form1">
                                        <input type="hidden" value="{$data['id']}" name="id" >
						                <div class="modal-body">

						                    <table class="table table-bordered" style="color:black">
						                        <tr>
						                            <td>用户电话</td>
						                            <td><input type="text" name='phone' value="{$data['phone']}"></td>
						                        </tr>
						                        <tr>
						                            <td>用户密码</td>
						                            <td><input type="password" id='singer' name='password' value="{$data['password']}"></td>
						                        </tr>
						                        <tr>
						                        	<td>用户名字</td>
						                        	<td><input type="text" name="name" value="{$data['name']}"></td>
						                        </tr>
						                        <tr>
						                            <td>性别</td>
						                            <td>
						                                <input type="radio" name='sex' value='0'  {if $data.sex==0} checked {/if}> 男
						                                <input type="radio" name='sex' value='1'  {if $data.sex==1} checked {/if}> 女
						                       
						                            </td>
						                        </tr>

						                          <tr>
						                            <td>详情</td>
						                            <td>
						                                <textarea name="dex" id="" cols="50" rows="5" >{$data['introduce']}</textarea>
						                            </td>
						                        </tr>

						                          <tr>
						                        	<td>生日</td>
						                        	<td><input type="text" name="birthday" value="{$data['birthday']}"></td>
						                        </tr>

						                          <tr>
						                        	<td>地址</td>
						                        	<td><input type="text" name="address" value="{$data['address']}"></td>
						                        </tr>




						                        <tr>
						                            <td>图片</td>
						                            <td>  <input type="file" class="file" name="image" ><br><img src="__UPLOAD__{$data.icon}" style="width:80px;height:60px" >
                                                    </td>
						                        </tr>
						                      
						                    </table>



						                </div>
						                <div class="modal-footer">
						                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭
						                    </button>
						                    <button class="btn btn-primary " type='submit' >
						                        保存
						                    </button>
						                </div>
						            </form>
       	 </div>

       </div>





       
	
</body>
</html>